﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.DomainModels.Repository
{
        /// <summary>
        /// 供应商信息实体类
        /// </summary>
        public class Supplier
        {
            /// <summary>
            /// 主键ID
            /// </summary>
            [Key]
            public int Id { get; set; }

            /// <summary>
            /// 供应商编码
            /// </summary>
            public string SupplierCode { get; set; }

            /// <summary>
            /// 供应商名称
            /// </summary>
            public string SupplierName { get; set; }

            /// <summary>
            /// 供应商简称
            /// </summary>
            public string SupplierReferred { get; set; }

            /// <summary>
            /// 供应商英文名称
            /// </summary>
            public string SupplierEngName { get; set; }

            /// <summary>
            /// 供应商简介
            /// </summary>
            public string SupplierDesc { get; set; }

            /// <summary>
            /// 供应商地址
            /// </summary>
            public string SupplierAddress { get; set; }

            /// <summary>
            /// 供应商等级
            /// </summary>
            public int SupplierLevel { get; set; }

            /// <summary>
            /// 供应商评分
            /// </summary>
            public int SupplierRating { get; set; }

            /// <summary>
            /// 供应商官网地址
            /// </summary>
            public string WebsiteAddress { get; set; }

            /// <summary>
            /// 供应商邮箱地址
            /// </summary>
            public string WebsiteEmail { get; set; }

            /// <summary>
            /// 供应商电话
            /// </summary>
            public string SupplierPhone { get; set; }

            /// <summary>
            /// 主要联系人姓名
            /// </summary>
            public string FirstName { get; set; }

            /// <summary>
            /// 主要联系人电话
            /// </summary>
            public string FirstPhone { get; set; }

            /// <summary>
            /// 主要联系人邮箱
            /// </summary>
            public string FirstEmail { get; set; }

            /// <summary>
            /// 次要联系人姓名
            /// </summary>
            public string SecondName { get; set; }

            /// <summary>
            /// 次要联系人电话
            /// </summary>
            public string SecondPhone { get; set; }

            /// <summary>
            /// 次要联系人邮箱
            /// </summary>
            public string SecondEmail { get; set; }

            /// <summary>
            /// 统一社会信用代码
            /// </summary>
            public string CreditCode { get; set; }

            /// <summary>
            /// 是否启用（0=禁用，1=启用）
            /// </summary>
            public int IsLock { get; set; }

            /// <summary>
            /// 供应商LOGO地址
            /// </summary>
            public string LOGOAddress { get; set; }

            /// <summary>
            /// 供应商图片地址
            /// </summary>
            public string SupplierImg { get; set; }

            /// <summary>
            /// 备注信息
            /// </summary>
            public string Descs { get; set; }
        }
}
